//
//  DTHomeSecondTableViewCell.m
//  DoThinkProperty
//
//  Created by YangJian on 15/9/23.
//  Copyright (c) 2015年 DoThink. All rights reserved.
//

#import "DTHomeSecondTableViewCell.h"
#import "Header.h"
@implementation DTHomeSecondTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _mainScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH,150)];
        
        _mainScrollView.contentSize = CGSizeMake(SCREEN_WIDTH, SCREEN_HEIGHT);
        
        _notificationLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH,_mainScrollView.bounds.size.height)];
        _notificationLabel.text = @"通知区域";
        
        UIImageView *imageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"bg_eventlistcell@2x.png"]];
        imageView.frame = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
    
        
        [self.contentView addSubview:_mainScrollView];
        [_mainScrollView addSubview:imageView];
        [_mainScrollView addSubview:_notificationLabel];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
